package com.zy.domain;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Properties;

public class Connection
{
    private Object[] obj;
    private List<Object> list;
    private Map<String,String> map;
    private Properties pro;

    public Connection()
    {
        System.out.println("Connection构造方法被调用！");
    }

    @Override
    public String toString()
    {
        return "Connection{" +
                "obj=" + Arrays.toString(obj) +
                ", list=" + list +
                ", map=" + map +
                ", pro=" + pro +
                '}';
    }

    public Object[] getObj()
    {
        return obj;
    }

    public void setObj(Object[] obj)
    {
        this.obj = obj;
    }

    public List<Object> getList()
    {
        return list;
    }

    public void setList(List<Object> list)
    {
        this.list = list;
    }

    public Map<String, String> getMap()
    {
        return map;
    }

    public void setMap(Map<String, String> map)
    {
        this.map = map;
    }

    public Properties getPro()
    {
        return pro;
    }

    public void setPro(Properties pro)
    {
        this.pro = pro;
    }
}
